!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="https://c5.rgstatic.net/",n(n.s=1371)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(32);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{document.location.href=e};function i(e){o(a(e))}function a(e){if(r.a.protocol.test(e))return e;const t=document.querySelector("base"),n=t&&t.href;return n&&("/"===n.charAt(n.length-1)&&"/"===e.charAt(0)&&(e=e.substr(1)),e=n+e),e}let s=null;function c(){if(null===s){if(s=document.baseURI,!s){const e=document.getElementsByTagName("base");s=e.length>0?e[0].href:""}s=s.replace(r.a.trailingSlashes,"")}return s}},117:function(e,t,n){var r=n(213),o=n(52),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},118:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},119:function(e,t,n){(function(e){var r=n(38),o=n(214),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,n(120)(e))},12:function(e,t,n){"use strict";n.r(t);var r=n(74);n.d(t,"sendBeacon",(function(){return r.f})),n.d(t,"get",(function(){return r.b})),n.d(t,"post",(function(){return r.d})),n.d(t,"put",(function(){return r.e})),n.d(t,"patch",(function(){return r.c})),n.d(t,"default",(function(){return r.a}))},120:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},126:function(e,t,n){"use strict";n.r(t),n.d(t,"COOKIE_RG_USER",(function(){return i})),n.d(t,"COOKIE_CONSENT",(function(){return a})),n.d(t,"NEW_COOKIE_CONSENT",(function(){return s})),n.d(t,"COOKIE_HIDE_FUTURE_POPUPS",(function(){return c})),n.d(t,"COOKIE_CF_DEBUG_CACHE",(function(){return u})),n.d(t,"COOKIE_CF_BYPASS_CACHE",(function(){return l})),n.d(t,"COOKIE_BYPASS_QUESTIONNAIRE_COOLDOWN",(function(){return d})),n.d(t,"COOKIE_FORCE_SHOW_QUESTIONNAIRES",(function(){return f})),n.d(t,"COOKIE_CURRENT_COUNTRY_CODE",(function(){return p})),n.d(t,"COOKIE_EXTERNAL_TRACKING_OPT_OUT",(function(){return g})),n.d(t,"EVENT_COOKIE_CONSENTED",(function(){return h})),n.d(t,"COOKIE_US_COOKIE_BANNER_DISMISSED",(function(){return m})),n.d(t,"GTM_EVENT_COOKIE_POLICY_OPENED",(function(){return y})),n.d(t,"GTM_EVENT_PRIVACY_POLICY_OPENED",(function(){return v})),n.d(t,"GTM_EVENT_COOKIE_CONSENT_CONSENTED",(function(){return b})),n.d(t,"getCookie",(function(){return w})),n.d(t,"setCookie",(function(){return T})),n.d(t,"hasCookieKeyValue",(function(){return O})),n.d(t,"cookieExists",(function(){return C}));var r=n(69),o=n.n(r);const i="cirgu",a="cookieconsent_dismissed",s="cc",c="rg_hfp",u="rgcf_debug_cache",l="rgcf_bypass_cache",d="bypass_questionnaire_cooldown",f="force_show_questionnaires",p="cur_country_code",g="external_tracking_optedout",h="cookie-consented",m="uscb",y="gtm-ev-cookie-policy",v="gtm-ev-privacy-policy",b="gtm-ev-cookie-consented";function E(e,t){try{return e()}catch(e){if(!function(){const e=!window.opener,t=!!(window.top&&window!=window.top||window.parent&&window!=window.parent);return e&&t}())throw e;return t}}function w(e){return E(()=>o.a.get(e))}function T(e,t,n){E(()=>o.a.set(e,t,n))}function O(e,t){return E(()=>o.a.get(e)===t,!1)}function C(e){return E(()=>!!o.a.get(e),!1)}},13:function(e,t,n){"use strict";function r(e,t){"undefined"!=typeof RGErrorLogger&&RGErrorLogger.reportError(e,t)}n.r(t),n.d(t,"default",(function(){return r}))},132:function(e,t,n){"use strict";var r=n(94),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;re.getFileName().startsWith("chrome-extension://")||e.getFileName().startsWith("safari-extension://")||e.getFileName().startsWith("moz-extension://"))}catch(e){return!1}}(n)&&((!e.message||!p(e.message,u))&&((!e.name||!p(e.name,l))&&(!function(e,t){return"Type error"===e.message&&e.stack.startsWith("fetch@[native code]")&&"[native code]"===t}(e,t)&&("function"!=typeof e.shouldSendToKibana||e.shouldSendToKibana()))))))}function p(e,t){return t.some(t=>"string"==typeof t?-1!==e.indexOf(t):t.test(e))}var g=n(502);const h={};function m(e){const t=JSON.stringify(e);if(function(e){return Object.prototype.hasOwnProperty.call(h,e)}(t))return;const n=function(){delete h[t]},r=new URLSearchParams(Object(g.serialize)(e)).toString(),o=new XMLHttpRequest;o.open("POST","go.Error.html"),o.onload=n,o.onerror=n,o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.send(r)}var y=n(503),v=n.n(y);let b;function E(e,t={}){if(!e)return;var n;"string"==typeof e&&(e=new Error(e)),(n=e)instanceof Error||n instanceof Object&&"name"in n&&"message"in n||(e=new Error(`Attempt to report error which is not a string or error object: ${JSON.stringify(e)}, ${Object.getPrototypeOf(e).constructor.name}`));const o=function(e){try{return v.a.parse(e)}catch(e){return[]}}(e),i=function(e){if(0===e.length)return{fileName:"",line:0,column:0};const t=e[e.length-1];return t?{fileName:t.getFileName(),line:t.getLineNumber(),column:t.getColumnNumber()}:{fileName:"",line:0,column:0}}(o);if("undefined"!=typeof RGCommons&&RGCommons.debug&&RGCommons.debug.logException({Type:s(e),PreviousType:e.name,message:e.message,File:i.fileName,Line:`${i.line}:${i.column}`}),!f(e,i.fileName,o))return;const a=[e.name,e.message,e.stack,JSON.stringify(t)].join("|");if(a===b)return;b=a,"object"!=typeof t&&(t={metaData:t}),"pageLoadedTimestamp"in window&&(t.pageLoadedTimestamp=window.pageLoadedTimestamp);const c={Module:Object(r.getPageConfigValue)(r.PAGE_MODULE),Action:Object(r.getPageConfigValue)(r.PAGE_ACTION),PageId:null,CorrelationId:Object(r.getRequestConfigValue)(r.REQUEST_CORRELATION_ID),jsMetaData:t,Request:window.location.href,UserAgent:navigator.userAgent,Type:s(e),PreviousType:e.name,message:e.message,Stacktrace:e.stack,File:i.fileName,Line:i.line,Column:i.column,ApplicationVersionTag:Object(r.getPageConfigValue)(r.PAGE_APPLICATION_VERSION_TAG),HasCriticalScriptsFailures:Boolean(window.rgCriticalScriptFailure)};0===c.Line&&/Script error\.?/.test(c.message)||m(c)}window.addEventListener("error",e=>E(e.error)),window.addEventListener("unhandledrejection",e=>E(e.reason));var w=n(37),T=n(39),O=n(161);class C{constructor(){this.DB_NAME="LiteDB",this.DB_VERSION=1,this.ENTRY_PAGE_STORE="entrypage",this.ENTRY_PAGE_KEY_V1="entrypage_v1"}init(){return new Promise((e,t)=>{if(!indexedDB)return void t("IndexedDB not available for this browser.");const n=indexedDB.open(this.DB_NAME,this.DB_VERSION);n.onerror=()=>{t("Could not initialise IndexedDB")},n.onsuccess=t=>{this.db=t.target.result,e()},n.onupgradeneeded=e=>{this.db=e.target.result,this.db.createObjectStore(this.ENTRY_PAGE_STORE)}})}getEntryPage(){return this.init().then(()=>new Promise((e,t)=>{const n=this.db.transaction(this.ENTRY_PAGE_STORE,"readonly").objectStore(this.ENTRY_PAGE_STORE).get(this.ENTRY_PAGE_KEY_V1);n.onsuccess=t=>{e(t.target.result)},n.onerror=()=>{t("Could not fetch entry page")}}))}setEntryPage(e){return this.init().then(()=>new Promise((t,n)=>{const r=this.db.transaction(this.ENTRY_PAGE_STORE,"readwrite");r.onerror=()=>{n(`Could not set entry page to '${e}'`)},r.oncomplete=()=>{t()},r.objectStore(this.ENTRY_PAGE_STORE).put(e,this.ENTRY_PAGE_KEY_V1)}))}}var _=n(148);const R=["figure","post","profile","publication","topic"];let I=n(92);I.default&&(I=I.default),window.RGCommons=I(n(350)),window.RGDom=I(n(351)),window.RGRequest={request:I(n(12))};const A=new class{triggerMainUserInteraction(){if(RGCommons.questionnaireListener.init(),"lite"===RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_MODULE)){switch(RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_ACTION)){case"lite.PostDetails":Object(T.c)(T.a.VIEW_PAGE_POST_DETAIL,null,{});break;case"lite.ProfileDetails":Object(T.c)(T.a.VIEW_PAGE_PROFILE,null,{});break;case"lite.PublicationDetails":Object(T.c)(T.a.VIEW_PAGE_PUBLICATION_DETAIL,null,{publicationUid:this.getPageUid()});break;case"lite.KeywordOverview":Object(T.c)(T.a.VIEW_PAGE_KEYWORD,null,{});break;case"lite.FigureDetails":Object(T.c)(T.a.VIEW_PAGE_FIGURE,null,{})}}}initListeners(){if(RGCommons.interactionListener.init(),RGCommons.trackingListener.init(),RGDom.modal.init(),RGCommons.viewportListener.init(),RGCommons.promoManager.init(),!RGCommons.cookie.cookieExists(RGCommons.cookie.COOKIE_RG_USER)&&!RGCommons.cookie.cookieExists(RGCommons.cookie.COOKIE_HIDE_FUTURE_POPUPS)){document.querySelector("#exit-modal")&&RGCommons.mouseLeaveViewportListener.init(),this.triggerMainUserInteractionOnExitBehaviour()}}syncEntryPage(){const e=new C;e.getEntryPage().then(e=>!e||Object(r.getRequestConfigValue)("refreshEntryPage",!1)).then(t=>t?e.setEntryPage(document.referrer):null)}initServiceWorkers(){"serviceWorker"in navigator&&navigator.serviceWorker.getRegistrations().then(e=>{const t=[];return Object(r.getRequestConfigValue)("unregisterServiceWorkers",!1)&&e.forEach(e=>{t.push(e.unregister())}),t}).then(()=>{const[,e]=new URL(window.location.href).pathname.split("/");R.includes(e)&&navigator.serviceWorker.register(`/${e}/lite.worker.js`,{scope:`/${e}/`}).then()})}triggerMainUserInteractionOnExitBehaviour(){if(RGCommons.questionnaireListener.init(),"lite"===RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_MODULE)){switch(RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_ACTION)){case"lite.PostDetails":Object(T.c)(T.a.EXIT_PAGE_POST,null,{});break;case"lite.ProfileDetails":Object(T.c)(T.a.EXIT_PAGE_PROFILE,null,{});break;case"lite.PublicationDetails":Object(T.c)(T.a.EXIT_PAGE_PUBLICATION,null,{});break;case"lite.KeywordOverview":Object(T.c)(T.a.EXIT_PAGE_KEYWORD,null,{});break;case"lite.FigureDetails":Object(T.c)(T.a.EXIT_PAGE_FIGURE,null,{})}}}initFraggleNavigation(){if(this.fraggleNavigationEnabled()&&window.location.hash){const e=window.location.pathname.slice(1),t=window.location.hash.slice(1),n=document.querySelector(`a[href="${e}${window.location.hash}"]`);if(n&&"function"==typeof n.click){n.click();const e=window.location.href.replace(window.location.hash,"");window.history.pushState({},"",e)}else{let e;try{e=document.querySelector(window.location.hash)}catch(e){}if(e&&"function"==typeof e.scrollIntoView){if(this.shouldDisableLazyLoadingPdfHtmlOnPDP()){const e=document.querySelector(".pdf-html-reader");e&&window.RGDom.className.removeClass(e,"enable-lazy-loading")}e.scrollIntoView()}}"function"==typeof window.ga&&window.ga("send","event","fragment search result click",t),"function"==typeof window.gtag&&window.gtag("event","fragment search result click",{event_label:t})}}fraggleNavigationEnabled(){if("lite"===RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_MODULE)){switch(RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_ACTION)){case"lite.ProfileDetails":case"lite.PublicationDetails":return!0;default:return!1}}return!1}getPageUid(){let e;try{e=document.querySelector('meta[property="rg:id"]');const t=e&&e.getAttribute("content");return t?t.split(":").pop():null}catch(e){return null}}shouldDisableLazyLoadingPdfHtmlOnPDP(){return"lite"===RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_MODULE)&&"lite.PublicationDetails"===RGCommons.rgConfig.getPageConfigValue(RGCommons.rgConfig.PAGE_ACTION)&&window.location.hash.match(/#pf.+/)}dispatchTrackingConfigLoadedEvent(){const e=document.querySelectorAll("."+_.a),t=Object(O.a)(_.b);for(let n=0;n{window.rgTracker=window.rgTracker||{queue:[],send:function(){this.queue.push(arguments)}},A.initListeners(),A.initFraggleNavigation(),A.syncEntryPage(),A.initServiceWorkers();window.trackingConfig&&0!==Object.keys(window.trackingConfig).length?A.dispatchTrackingConfigLoadedEvent():window.addEventListener("load",()=>{window.trackingConfig=window.trackingConfig||{isEU:!0,crawler:!1},A.dispatchTrackingConfigLoadedEvent()})})},138:function(e,t){},139:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(30),o=n.n(r);const i={cssVariables:{detect:()=>CSS.supports("color","var(--rg-swamp-green)")},cssGrid:{detect:()=>CSS.supports("display","grid")}};class a{constructor(){this.errors=[],this.trackFeatures().then().catch(e=>console.error(e))}trackFeatures(){const e={};try{if(Object.keys(i).forEach(t=>{const n=this.trackFeatureSupport(t);null!==n&&(e[t]=n)}),this.errors.length)return fetch("/go.BrowserFeatures.html?error="+encodeURIComponent(this.errors.join("\n\n")));if(!Object.keys(e).length)return Promise.resolve();const t=o.a.stringify(e);return t&&t.length?fetch("/go.BrowserFeatures.html?"+t):Promise.resolve()}catch(e){return console.error(e.toString()),fetch("/go.BrowserFeatures.html?error="+e.toString())}}trackFeatureSupport(e){const t=sessionStorage.getItem("alreadyDetected."+e);try{if(!t&&i[e]){if(!i[e].detect)throw Error("must define detect() function for each feature.");const t=i[e].detect();return sessionStorage.setItem("alreadyDetected."+e,t?"detected":"notavailable"),t?"1":"0"}return null}catch(t){return console.error(t),sessionStorage.setItem("alreadyDetected."+e,"failed"),this.errors.push(t.toString()),null}}}},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(45),o=n.n(r),i=n(30),a=n.n(i),s=n(5);const c=window.performance;function u(e){return e&&"getEntriesByType"in e&&"function"==typeof e.getEntriesByType}function l(e){return"string"==typeof e?e.replace(/\s\s+/g," ").replace(/ /g,"_"):e}function d(e,t,n){if(!Object(s.trackingConfigExists)())return null;const r=Object(s.getRequestConfigValue)(s.REQUEST_CORRELATION_ID),o=Object(s.getTrackingConfigValue)(s.TRACKING_FINGERPRINT),i=function(){if(!c||!c.timing||null===Object(s.getRequestConfigValue)(s.REQUEST_BACKEND_TIME))return null;const e=c.timing,t=e.loadEventEnd?e.loadEventEnd:(new Date).getTime(),n=e.connectEnd-e.connectStart,r=e.responseEnd-e.requestStart,o=t-e.domLoading,i=t-e.navigationStart,a=e.responseStart-e.requestStart,u=e.domComplete-e.domLoading,d=e.loadEventStart?t-e.loadEventStart:0,f=e.domInteractive-e.domLoading,p=e.domComplete-e.domInteractive,g=Math.max(0,e.domainLookupEnd-e.domainLookupStart),h=e.domContentLoadedEventEnd-e.domLoading;let m=0;if(e.secureConnectionStart&&(m=e.connectEnd-e.secureConnectionStart),n<0||r<0||o<0||i<0||a<0)return null;let y=!1;return n>6e4&&(y=!0),r>6e4&&(y=!0),o>6e4&&(y=!0),i>6e4&&(y=!0),a>6e4&&(y=!0),{connectStart:e.connectStart,connectTime:n,requestTime:r,renderTime:o,completeRequestTime:i,firstContentTime:a,backendTime:Object(s.getRequestConfigValue)(s.REQUEST_BACKEND_TIME),domProcessingTime:u,loadEventTime:d,domLoadingTime:f,domCompletionTime:p,dnsLookupTime:g,sslHandshakeTime:m,domContentLoadingTime:h,continent:l(Object(s.getTrackingConfigValue)(s.TRACKING_CONTINENT)),countryCode:Object(s.getTrackingConfigValue)(s.TRACKING_COUNTRY_CODE),flag:Object(s.getTrackingConfigValue)(s.TRACKING_FLAG),isVeryLongRunning:y}}();if(null===i||!r||!o)return null;const a={c:r,cfp:o,k:i.isVeryLongRunning?Object(s.getPageConfigValue)(s.PAGE_LONG_RUNNING_REQUEST_IDENTIFIER):e.join("~"),fp:i.isVeryLongRunning?Object(s.getPageConfigValue)(s.PAGE_LONG_RUNNING_REQUEST_FP):t,cn:l(Object(s.getTrackingConfigValue)(s.TRACKING_CONTINENT)),cc:Object(s.getTrackingConfigValue)(s.TRACKING_COUNTRY_CODE),f:Object(s.getTrackingConfigValue)(s.TRACKING_FLAG),xler:Object(s.getTrackingConfigValue)(s.TRACKING_LOG_EXTENDED_REQUEST)?1:0,ct:i.connectTime,rqt:i.requestTime,rdt:i.renderTime,crt:i.completeRequestTime,fct:i.firstContentTime,bt:Object(s.getRequestConfigValue)(s.REQUEST_BACKEND_TIME),dpt:i.domProcessingTime,let:i.loadEventTime,dlt:i.domLoadingTime,dct:i.domCompletionTime,dnst:i.dnsLookupTime,ht:i.sslHandshakeTime,dclt:i.domContentLoadingTime},d=function(){if(!u(c))return null;const e=c.getEntriesByType("paint");return 0===e.length?null:e.reduce((e,{entryType:t,name:n,startTime:r})=>("paint"===t&&n&&r&&(e[n]=parseInt(r,10)),e),{})}();null!==d&&(d["first-paint"]&&(a.fpt=d["first-paint"]),d["first-contentful-paint"]&&(a.fcpt=d["first-contentful-paint"]));const f=function(e){if(!Object(s.getTrackingConfigValue)(s.TRACKING_LOG_TIME_TO_FIRST_AD)||!c||!c.timing)return null;if(window.consentUiShown)return null;const t=c.timing.navigationStart;if(!e||!e.firstViewableAd)return{timeNoAd:(new Date).getTime()-t};const{firstViewableAd:n,firstAdRequested:r,firstBidRequested:o,googleTagReady:i}=e,a={timeToFirstAdRequestStarted:n.performance.adRequestStart-t,timeToFirstAd:n.performance.adViewableAt-t,adCorrelationId:n.metadata.adCorrelationId};return r&&(a.timetoFirstAdRequest=r.performance.actionAt-t),o&&(a.timetoFirstBidRequest=o.performance.actionAt-t),i&&(a.timeToGoogleTagReady=i-t),a}(n);f&&(f.timeToFirstAd?(a.ttfars=f.timeToFirstAdRequestStarted,a.ttfa=f.timeToFirstAd,a.acid=f.adCorrelationId):a.tna=f.timeNoAd,f.timetoFirstAdRequest&&(a.ttfar=f.timetoFirstAdRequest),f.timetoFirstBidRequest&&(a.ttfbr=f.timetoFirstBidRequest),f.timeToGoogleTagReady&&(a.ttgtr=f.timeToGoogleTagReady));const p=function(){if(!u(c))return null;const e=c.getEntriesByType("resource"),t={css:{count:0,totalDuration:0,totalBytes:0},js:{count:0,totalDuration:0,totalBytes:0},html:{count:0,totalDuration:0,totalBytes:0},image:{count:0,totalDuration:0,totalBytes:0}};let n=0,r=0,o=0;return e.forEach(e=>{let n;if(e.name.match(/\.css$/))n="css";else if(e.name.match(/\.js$/))n="js";else if(e.name.match(/\.html($|\/?\?)/))n="html";else{if(!e.name.match(/\.(png|jpeg|jpg|gif)$/))return;n="image"}t[n].count++,t[n].totalDuration+=parseInt(e.duration,10),t[n].totalBytes+=parseInt(e.transferSize,10),o+=parseInt(e.transferSize,10)}),RGCommons.performedRequests.forEach(e=>{n++,r+=parseInt(e.duration,10)}),{cssCount:t.css.count,cssTotalBytes:t.css.totalBytes,cssTotalDuration:Math.max(0,t.css.totalDuration),jsCount:t.js.count,jsTotalDuration:Math.max(0,t.js.totalDuration),jsTotalBytes:t.js.totalBytes,htmlCount:t.html.count,htmlTotalDuration:Math.max(0,t.html.totalDuration),htmlTotalBytes:t.html.totalBytes,imageCount:t.image.count,imageTotalDuration:Math.max(0,t.image.totalDuration),imageTotalBytes:t.image.totalBytes,ajaxCount:n,ajaxTotalDuration:Math.max(0,r),totalBytes:o}}();return null!==p&&(a.cssc=p.cssCount,a.cssd=p.cssTotalDuration,a.cssb=p.imageTotalBytes,a.jsc=p.jsCount,a.jsd=p.jsTotalDuration,a.jsb=p.jsTotalBytes,a.hc=p.htmlCount,a.hd=p.htmlTotalDuration,a.hb=p.htmlTotalBytes,a.ic=p.imageCount,a.id=p.imageTotalDuration,a.ib=p.imageTotalBytes,a.ac=p.ajaxCount,a.ad=p.ajaxTotalDuration,a.tb=p.totalBytes),a}class f extends o.a{constructor(e){super(e),this.pageData={},this.timeoutId=null,this.isPageTracked=!1,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{this.pageData.googleTagReady||(this.pageData.googleTagReady=Date.now())}),window.addEventListener("rgAdImpression",e=>{this.pageData.firstViewableAd||(this.pageData.firstViewableAd=e.detail,Object(s.getTrackingConfigValue)(s.TRACKING_LOG_TIME_TO_FIRST_AD)||this.monitorPageWithTimeToFirstAd())},{once:!0,passive:!0}),window.addEventListener("rgAdBidRequest",e=>{this.pageData.firstBidRequested||(this.pageData.firstBidRequested=e.detail)},{once:!0,passive:!0}),window.addEventListener("rgAdRequest",e=>{this.pageData.firstAdRequested||(this.pageData.firstAdRequested=e.detail)},{once:!0,passive:!0}),window.addEventListener("beforeunload",()=>{const{endPoint:e,keys:t,keysHash:n,firstViewableAd:r,firstBidRequested:o,firstAdRequested:i}=this.pageData;window.clearTimeout(this.timeoutId),this.trackPagespeedByImg(e,t,n,{firstViewableAd:r,firstBidRequested:o,firstAdRequested:i})},{once:!0})}trackByImage(e,t){if(!e)return!1;const n=document.createElement("img"),r=()=>{window.requestIdleCallback(()=>{n&&n.parentNode&&n.parentNode.removeChild(n)})};return n.setAttribute("style","overflow: hidden; height: 0; width: 0; display: block"),n.setAttribute("width",0),n.setAttribute("height",0),n.onload=r,n.onerror=r,n.src=`${e}?${a.a.stringify(t)}`,document.body.appendChild(n),window.requestIdleCallback(()=>{this.emit("tracked",t)}),!0}trackPagespeedByImg(e,t,n,r){if(!this.isPageTracked&&e&&t&&n){const o=d(t,n,r);o&&(this.trackByImage(e,o),this.isPageTracked=!0)}}monitorPage(e,t,n){if(!this.isPageTracked&&!this.pageData.keys&&t&&t.length>0){let r=()=>{this.trackPagespeedByImg(e,t,n)};Object(s.getTrackingConfigValue)(s.TRACKING_LOG_TIME_TO_FIRST_AD)&&(r=()=>{this.pageData.endPoint=e,this.pageData.keys=t,this.pageData.keysHash=n,this.monitorPageWithTimeToFirstAd()}),this.timeoutId=setTimeout(r,3e3)}}monitorPageWithTimeToFirstAd(){const{endPoint:e,keys:t,keysHash:n,firstViewableAd:r,firstBidRequested:o,firstAdRequested:i,googleTagReady:a}=this.pageData;if(e&&t&&n&&r)return window.clearTimeout(this.timeoutId),this.timeoutId=null,void this.trackPagespeedByImg(e,t,n,{firstViewableAd:r,firstBidRequested:o,firstAdRequested:i,googleTagReady:a});this.timeoutId||(this.timeoutId=setTimeout(()=>{this.trackPagespeedByImg(e,t,n,{firstViewableAd:r,firstBidRequested:o,firstAdRequested:i,googleTagReady:a})},1e4))}}},141:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(45),o=n.n(r),i=n(30),a=n.n(i),s=n(41);class c extends o.a{filterUrl(e){if(!this.cachedParameters)return e;let t,n,r,o,i,c,u,l,d=!1;const f=e.indexOf("#");-1===f?t=e:(t=e.substr(0,f),n=e.substr(f+1));const p=t.indexOf("?");if(-1!==p){for(c in r=t.substr(0,p),o=t.substr(p+1),i=a.a.parse(o),this.cachedParameters)Object(s.a)(this.cachedParameters,c)&&(u=this.cachedParameters[c],i[u]&&(d=!0,delete i[u]));for(c in i)Object(s.a)(i,c)&&"_"===c.substr(0,1)&&(d=!0,delete i[c]);if(d)return o=a.a.stringify(i),l=r,o&&(l=`${l}?${o}`),n&&(l=`${l}#${n}`),l}return e}filter(e){e?this.cachedParameters=e:e=this.cachedParameters,e&&window.history&&window.history.replaceState&&window.addEventListener("load",()=>{const e=window.location.href,t=this.filterUrl(e);t!==e&&(window.history.replaceState(null,null,t),this.emit("historyStateReplaced"))})}}},142:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(45),o=n.n(r),i=n(65),a=n.n(i);class s extends o.a{constructor(...e){super(...e),this.requests=[]}add(e){this.requests.push(e),this.requests.length>50&&this.requests.shift(),this.emit("performedAjaxRequest",e)}log(e,t,n,r,o){let i,s;n.getResponseHeader?(i=n.getResponseHeader("X-Correlation-Id"),s=!!n.getResponseHeader("X-Rg-Pi")):n.headers&&n.headers.get&&(i=n.headers.get("X-Correlation-Id"),s=!!n.headers.get("X-Rg-Pi"));const c={key:a()("req-"),status:n.status,url:e,method:t,correlationId:i,pageImpression:s,ok:r,duration:o};this.requests.push(c),this.requests.length>50&&this.requests.shift(),this.emit("performedAjaxRequest",c)}forEach(e){this.requests.forEach(e)}}},143:function(e,t,n){"use strict";n.r(t),n.d(t,"update",(function(){return o})),n.d(t,"get",(function(){return i}));var r=n(37);function o(e){r.a.set(e)}function i(){return r.a.get()}r.a.addListener("update",e=>{return t=e,void[].slice.call(document.querySelectorAll('input[name="request_token"]')).forEach(e=>{e.value=t});var t})},144:function(e,t,n){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=u(e),a=r[0],s=r[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,d=s>0?a-4:a;for(n=0;n>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;as?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,i,a=[],s=t;s>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},146:function(e,t,n){"use strict";n.d(t,"a",(function(){return ee}));var r,o,i,a,s,c=-1,u=function(e){addEventListener("pageshow",(function(t){t.persisted&&(c=t.timeStamp,e(t))}),!0)},l=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=l();return e&&e.activationStart||0},f=function(e,t){var n=l(),r="navigate";return c>=0?r="back-forward-cache":n&&(document.prerendering||d()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},g=function(e,t,n,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},h=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},m=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},y=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},v=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},E=function(e){"hidden"===document.visibilityState&&v>-1&&(v="visibilitychange"===e.type?e.timeStamp:0,T())},w=function(){addEventListener("visibilitychange",E,!0),addEventListener("prerenderingchange",E,!0)},T=function(){removeEventListener("visibilitychange",E,!0),removeEventListener("prerenderingchange",E,!0)},O=function(){return v<0&&(v=b(),w(),u((function(){setTimeout((function(){v=b(),w()}),0)}))),{get firstHiddenTime(){return v}}},C=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},_=[1800,3e3],R=function(e,t){t=t||{},C((function(){var n,r=O(),o=f("FCP"),i=p("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){j(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,A),removeEventListener("pointercancel",r,A)};addEventListener("pointerup",n,A),addEventListener("pointercancel",r,A)}(t,e):j(t,e)}},k=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,N,A)}))},L=[100,300],x=0,D=1/0,G=0,q=function(e){e.forEach((function(e){e.interactionId&&(D=Math.min(D,e.interactionId),G=Math.max(G,e.interactionId),x=G?(G-D)/7+1:0)}))},B=function(){return s?x:performance.interactionCount||0},F=function(){"interactionCount"in performance||s||(s=p("event",q,{type:"event",buffered:!0,durationThreshold:0}))},V=[200,500],U=0,M=function(){return B()-U},W=[],K={},H=function(e){var t=W[W.length-1],n=K[e.interactionId];if(n||W.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};K[r.id]=r,W.push(r)}W.sort((function(e,t){return t.latency-e.latency})),W.splice(10).forEach((function(e){delete K[e.id]}))}},$=[2500,4e3],Q={},z=n(5);const Y=window.performance;function J(e){return e&&"getEntriesByType"in e&&"function"==typeof e.getEntriesByType}function X(e){return"string"==typeof e?e.replace(/\s\s+/g," ").replace(/ /g,"_"):e}function Z(e,t,n,r){if(!Object(z.trackingConfigExists)())return null;const o=Object(z.getRequestConfigValue)(z.REQUEST_CORRELATION_ID),i=Object(z.getTrackingConfigValue)(z.TRACKING_FINGERPRINT),a=function(){if(!Y||!Y.timing||null===Object(z.getRequestConfigValue)(z.REQUEST_BACKEND_TIME))return null;const e=Y.timing,t=e.loadEventEnd?e.loadEventEnd:(new Date).getTime(),n=e.connectEnd-e.connectStart,r=e.responseEnd-e.requestStart,o=t-e.domLoading,i=t-e.navigationStart,a=e.responseStart-e.requestStart,s=e.domComplete-e.domLoading,c=Math.max(0,e.domainLookupEnd-e.domainLookupStart),u=e.domContentLoadedEventEnd-e.domLoading;let l=0;if(e.secureConnectionStart&&(l=e.connectEnd-e.secureConnectionStart),n<0||r<0||o<0||i<0||a<0)return null;let d=!1;return n>6e4&&(d=!0),r>6e4&&(d=!0),o>6e4&&(d=!0),i>6e4&&(d=!0),a>6e4&&(d=!0),{connectStart:e.connectStart,connectTime:n,requestTime:r,renderTime:o,completeRequestTime:i,firstContentTime:a,backendTime:Object(z.getRequestConfigValue)(z.REQUEST_BACKEND_TIME),domProcessingTime:s,dnsLookupTime:c,sslHandshakeTime:l,domContentLoadingTime:u,continent:X(Object(z.getTrackingConfigValue)(z.TRACKING_CONTINENT)),countryCode:Object(z.getTrackingConfigValue)(z.TRACKING_COUNTRY_CODE),flag:Object(z.getTrackingConfigValue)(z.TRACKING_FLAG),isVeryLongRunning:d}}();if(null===a||!o||!i)return null;const s={c:o,cfp:i,k:a.isVeryLongRunning?Object(z.getPageConfigValue)(z.PAGE_LONG_RUNNING_REQUEST_IDENTIFIER):e.join("~"),fp:a.isVeryLongRunning?Object(z.getPageConfigValue)(z.PAGE_LONG_RUNNING_REQUEST_FP):t,cn:X(Object(z.getTrackingConfigValue)(z.TRACKING_CONTINENT)),cc:Object(z.getTrackingConfigValue)(z.TRACKING_COUNTRY_CODE),f:Object(z.getTrackingConfigValue)(z.TRACKING_FLAG),xler:Object(z.getTrackingConfigValue)(z.TRACKING_LOG_EXTENDED_REQUEST)?1:0,ct:a.connectTime,rqt:a.requestTime,rdt:a.renderTime,crt:a.completeRequestTime,fct:a.firstContentTime,bt:Object(z.getRequestConfigValue)(z.REQUEST_BACKEND_TIME),dpt:a.domProcessingTime,dnst:a.dnsLookupTime,ht:a.sslHandshakeTime,dclt:a.domContentLoadingTime},c=function(){if(!J(Y))return null;const e=Y.getEntriesByType("paint");return 0===e.length?null:e.reduce((e,{entryType:t,name:n,startTime:r})=>("paint"===t&&n&&r&&(e[n]=parseInt(r,10)),e),{})}();null!==c&&(c["first-paint"]&&(s.fpt=c["first-paint"]),c["first-contentful-paint"]&&(s.fcpt=c["first-contentful-paint"])),r.FCP&&!s.fcpt&&(s.fcpt=r.FCP);const u=function(e){if(!Object(z.getTrackingConfigValue)(z.TRACKING_LOG_TIME_TO_FIRST_AD)||!Y||!Y.timing)return null;if(window.consentUiShown)return null;const t=Y.timing.navigationStart;if(!e||!e.firstViewableAd)return{timeNoAd:(new Date).getTime()-t};const{firstViewableAd:n,firstAdRequested:r,firstBidRequested:o,googleTagReady:i}=e,a={timeToFirstAdRequestStarted:n.performance.adRequestStart-t,timeToFirstAd:n.performance.adViewableAt-t,adCorrelationId:n.metadata.adCorrelationId};return r&&(a.timetoFirstAdRequest=r.performance.actionAt-t),o&&(a.timetoFirstBidRequest=o.performance.actionAt-t),i&&(a.timeToGoogleTagReady=i-t),a}(n);u&&(u.timeToFirstAd?(s.ttfars=u.timeToFirstAdRequestStarted,s.ttfa=u.timeToFirstAd,s.acid=u.adCorrelationId):s.tna=u.timeNoAd,u.timetoFirstAdRequest&&(s.ttfar=u.timetoFirstAdRequest),u.timetoFirstBidRequest&&(s.ttfbr=u.timetoFirstBidRequest),u.timeToGoogleTagReady&&(s.ttgtr=u.timeToGoogleTagReady));const l=function(){if(!J(Y))return null;const e=Y.getEntriesByType("resource"),t={css:{count:0,totalDuration:0,totalBytes:0},js:{count:0,totalDuration:0,totalBytes:0},html:{count:0,totalDuration:0,totalBytes:0},image:{count:0,totalDuration:0,totalBytes:0}};let n=0,r=0,o=0;return e.forEach(e=>{let n;if(e.name.match(/\.css$/))n="css";else if(e.name.match(/\.js$/))n="js";else if(e.name.match(/\.html($|\/?\?)/))n="html";else{if(!e.name.match(/\.(png|jpeg|jpg|gif)$/))return;n="image"}t[n].count++,t[n].totalDuration+=parseInt(e.duration,10),t[n].totalBytes+=parseInt(e.transferSize,10),o+=parseInt(e.transferSize,10)}),RGCommons.performedRequests.forEach(e=>{n++,r+=parseInt(e.duration,10)}),{cssCount:t.css.count,cssTotalBytes:t.css.totalBytes,cssTotalDuration:Math.max(0,t.css.totalDuration),jsCount:t.js.count,jsTotalDuration:Math.max(0,t.js.totalDuration),jsTotalBytes:t.js.totalBytes,htmlCount:t.html.count,htmlTotalDuration:Math.max(0,t.html.totalDuration),htmlTotalBytes:t.html.totalBytes,imageCount:t.image.count,imageTotalDuration:Math.max(0,t.image.totalDuration),imageTotalBytes:t.image.totalBytes,ajaxCount:n,ajaxTotalDuration:Math.max(0,r),totalBytes:o}}();return null!==l&&(s.cssc=l.cssCount,s.cssd=l.cssTotalDuration,s.cssb=l.imageTotalBytes,s.jsc=l.jsCount,s.jsd=l.jsTotalDuration,s.jsb=l.jsTotalBytes,s.hc=l.htmlCount,s.hd=l.htmlTotalDuration,s.hb=l.htmlTotalBytes,s.ic=l.imageCount,s.id=l.imageTotalDuration,s.ib=l.imageTotalBytes,s.ac=l.ajaxCount,s.ad=l.ajaxTotalDuration,s.tb=l.totalBytes),s.cls=r.CLS,void 0!==r.FID&&(s.fid=r.FID),void 0!==r.LCP&&(s.lcp=r.LCP),void 0!==r.INP&&(s.inp=r.INP),s}class ee{constructor(){this.pageData={webVitals:{CLS:0,FID:void 0,LCP:void 0,FCP:void 0,INP:void 0},firstViewableAd:void 0,firstBidRequested:void 0,firstAdRequested:void 0},this.endPoint=void 0,this.keys=void 0,this.keysHash=void 0,this.isPageTracked=!1,this.handleUnload=()=>{if(!this.endPoint||!this.keys||!this.keysHash||this.isPageTracked)return;const{firstViewableAd:e,firstBidRequested:t,firstAdRequested:n,webVitals:r}=this.pageData,o=Z(this.keys,this.keysHash,{firstViewableAd:e,firstBidRequested:t,firstAdRequested:n},r);o&&(RGCommons.monitoring.trackByImage(this.endPoint,o),this.isPageTracked=!0)},this.handleAdImpression=e=>{this.pageData.firstViewableAd||(this.pageData.firstViewableAd=e.detail)},this.handleAdRequest=e=>{this.pageData.firstAdRequested||(this.pageData.firstAdRequested=e.detail)},this.handleAdBidRequest=e=>{this.pageData.firstBidRequested||(this.pageData.firstBidRequested=e.detail)},this.handleWebVitalsReport=({name:e,value:t})=>{this.pageData.webVitals[e]=Math.round("CLS"===e?1e3*t:t)},window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{this.pageData.googleTagReady||(this.pageData.googleTagReady=Date.now())}),window.addEventListener("rgAdImpression",this.handleAdImpression,{once:!0,passive:!0}),window.addEventListener("rgAdBidRequest",this.handleAdBidRequest,{once:!0,passive:!0}),window.addEventListener("rgAdRequest",this.handleAdRequest,{once:!0,passive:!0}),window.addEventListener("beforeunload",this.handleUnload,{once:!0}),function(e,t){t=t||{},R(y((function(){var n,r=f("CLS",0),o=0,i=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],n=i[i.length-1];o&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,i.push(e)):(o=e.value,i=[e])}})),o>r.value&&(r.value=o,r.entries=i,n())},s=p("layout-shift",a);s&&(n=g(e,r,I,t.reportAllChanges),m((function(){a(s.takeRecords()),n(!0)})),u((function(){o=0,r=f("CLS",0),n=g(e,r,I,t.reportAllChanges),h((function(){return n()}))})),setTimeout(n,0))})))}(this.handleWebVitalsReport,!0),function(e,t){t=t||{},C((function(){var n,i=O(),s=f("FID"),c=function(e){e.startTime0&&(o.value=0,o.entries=[]),r(!0)})),u((function(){W=[],U=B(),o=f("INP"),r=g(e,o,V,t.reportAllChanges)})))}))}(this.handleWebVitalsReport)}monitorPage(e,t,n){!this.isPageTracked&&!this.pageData.keys&&t&&t.length>0&&(this.endPoint=e,this.keys=t,this.keysHash=n)}}},148:function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return h}));var r=n(18),o=n(39),i=n(201),a=n(13),s=n(64);var c=e=>{if(void 0===window)return e;if(!e)return e;if(!window.pageConfig)return e;const t=window.pageConfig.trackingPayload,n=JSON.stringify(t),r=btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),o=window.location,i=`${o.protocol}//${o.host}/`,a=new URL(e,i);return a.searchParams.delete("_tp"),a.searchParams.append("_tp",r),a.toString()},u=n(161);const l=["type"],d="trackingloaded",f="lawag",p="lawg",g="js-lite-trackingloaded";class h{constructor(){this.classToHandlerMap={"js-lite-click":"click","js-lite-mouseover":"mouseover","js-lite-domready":"domready","js-lite-focus":"focus",[g]:d},this.isRGUser=!1}init(){this.isRGUser=RGCommons.cookie.cookieExists(RGCommons.cookie.COOKIE_RG_USER),this.initOnElement(document)}initOnElement(e){const t=e.querySelectorAll('[class*="js-lite"]');if(t.length>0)for(let e=t.length;e--;){const n=t[e].className.match(/js-lite-\w+/i);if(n)for(let r=n.length;r--;){const o=this.classToHandlerMap[n[r]];o&&this.attachListener(t[e],o)}}}attachListener(e,t){"domready"!==t?e.addEventListener(t,this.getListenerCallback(t)):e.dataset&&e.dataset.lite&&this.processConfig(e,e.dataset.lite,t)}getListenerCallback(e){const t=this;return function(n){if(this.dataset&&this.dataset.lite&&t.processConfig(this,this.dataset.lite,e)){JSON.parse(this.dataset.lite)[e].map(e=>e.a).filter(e=>e.match(new RegExp("tgtm\\(\\D+"))).length>0||(n.preventDefault(),n.stopPropagation())}}}processConfig(e,t,n){const r=JSON.parse(t);let o=!1;if(r[n]){const t=r[n],i=[];for(let n=0;n{e.stopPropagation()}),r[e].hasReverseStopper=!0))}}if(i.length>0){const t=()=>{for(let t=0;t0)||e.reduce((e,t)=>this.isValidCondition(t)&&e,!0);const t=this.parseConfig(e);let n=!1;switch(t.name){case 1:return this.isRGUser;case 2:return!this.isRGUser;case 5:return navigator.userAgent&&/iPhone/.test(navigator.userAgent);case 4:case 3:return n=RGCommons.rgConfig.getTrackingConfigValue(RGCommons.rgConfig.TRACKING_IS_MOBILE),3===t.name?!n:n;case 6:return!RGCommons.rgConfig.getTrackingConfigValue(RGCommons.rgConfig.TRACKING_IS_CRAWLER);case"hsk":case"hnsk":return s.b&&(n=t.arg in window.sessionStorage),"hsk"===t.name?n:!n;case"hc":case"hnc":return n=RGCommons.cookie.cookieExists(t.arg),"hnc"===t.name?!n:n}return!0}execute(e,t,n,s){if(!e||!this.isValidCondition(n))return!1;if("number"==typeof s&&s>0)return setTimeout(()=>{this.execute(e,t)},s),!0;const d=[p,f].indexOf(t.name)>-1?"GET":"POST";let g=0,h=0,m=0,y=null;switch(t.name){case"tc":return RGDom.className.toggleClass(e,t.arg),!0;case"rc":return RGDom.className.removeClass(e,t.arg),!0;case"ac":return RGDom.className.addClass(e,t.arg),!0;case"sa":return y=Object.keys(t.arg)[0],e.setAttribute(y,t.arg[y]),!0;case"sc":return document.cookie=t.arg+"=1; Path=/; Secure; SameSite=Strict; expires=Fri, 31 Dec 9999 23:59:59 UTC",!0;case"st":return g=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,h=document.documentElement.clientTop||document.body.clientTop||0,m=e.getBoundingClientRect().top+g-h-(t.arg||0)-10,RGCommons.browserDetector.isIEOrEdge()?(window.scrollTo(0,m),!0):(window.scrollTo({top:m,behavior:"smooth"}),!0);case"cu":return Object(i.a)(window.location.href),!0;case"law":case f:case p:return RGRequest.request(t.arg,{method:d,headers:{Accept:"text/html"}}).then(n=>{t.name===f?RGDom.content.append(e,n):RGDom.content.replace(e,n),this.initOnElement(e),RGDom.className.removeClass(e,"lite-page-hidden"),window.RGCommons.viewportListener.initImagesObserver(e),window.RGCommons.trackingListener.init()}).catch(e=>{Object(a.default)(e)}),!0;case"rct":return e.innerHTML="",!0;case"ceh":return e.setAttribute("href",t.arg),!0;case"ft":return window.location.assign(c(t.arg)),!0;case"gr":return RGRequest.request(t.arg,{method:"GET"}),!0;case"tcl":return e.dispatchEvent(Object(u.a)(t.arg)),!0;case"tci":return Object(o.c)(t.arg,null,{}),!0;case"tgtm":return window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t.arg}),!0;case"af":return"undefined"!=typeof Storage&&(window.sessionStorage[t.arg]=!0),!0;case"sad":{const e=JSON.parse(t.arg),{type:n}=e,o=Object(r.a)(e,l);window.rgTracker.send(n,o)}return!0}return!1}}},150:function(e,t,n){var r=n(97),o=n(206),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},151:function(e,t,n){(function(e){var r=n(133),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(120)(e))},152:function(e,t,n){var r=n(61)(n(38),"Map");e.exports=r},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>{let t;return"function"!=typeof window.CustomEvent?(t=document.createEvent("CustomEvent"),t.initCustomEvent(e,!1,!1,null)):t=new CustomEvent(e),t}},166:function(e,t,n){var r=n(75),o=n(95),i=n(50),a=n(96),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},167:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},168:function(e,t,n){var r=n(61)(n(38),"Set");e.exports=r},169:function(e,t,n){var r=n(61)(n(38),"WeakMap");e.exports=r},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(49);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},201:function(e,t,n){"use strict";t.a=e=>new Promise(t=>{const n=document.createElement("textarea");n.id="clipboard-helper",n.value=e,n.style.top="-1px",n.style.left="-1px",n.style.position="absolute",n.style.width="0px",n.style.height="0px",document.body.appendChild(n),n.select();try{document.execCommand("copy")}finally{document.body.removeChild(n),t()}})},202:function(e,t,n){"use strict";var r=n(132),o=n(94),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=String.prototype.split,u=Array.prototype.push,l=function(e,t){u.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g=function e(t,n,o,i,a,u,d,f,g,h,m,y,v,b){var E,w=t;if("function"==typeof d?w=d(n,w):w instanceof Date?w=h(w):"comma"===o&&s(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?h(e):e}))),null===w){if(i)return u&&!v?u(n,p.encoder,b,"key",m):n;w=""}if("string"==typeof(E=w)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||r.isBuffer(w)){if(u){var T=v?n:u(n,p.encoder,b,"key",m);if("comma"===o&&v){for(var O=c.call(String(w),","),C="",_=0;_0?w.join(",")||null:void 0}];else if(s(d))R=d;else{var A=Object.keys(w);R=f?A.sort(f):A}for(var S=0;S0?v+y:""}},203:function(e,t,n){"use strict";var r=n(132),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var d=0;n.depth>0&&null!==(s=a.exec(i))&&d=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,d),p=-1,g=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=i(m)?[m]:m),o.call(u,h)?u[h]=r.combine(u[h],m):u[h]=m}return u}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(l),p=0;p0}});else{var n=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(e,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(e,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),n=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,a=s(i),c=this._rootContainsTarget(i),u=o.entry,l=t&&c&&this._computeTargetAndRootIntersection(i,n),d=o.entry=new r({time:e.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:n,intersectionRect:l});u?t&&c?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=e.getComputedStyle(n).display){for(var o,i,a,c,l,d,f,p,g=s(n),h=u(n),m=!1;!m;){var y=null,v=1==h.nodeType?e.getComputedStyle(h):{};if("none"==v.display)return;if(h==this.root||h==t?(m=!0,y=r):h!=t.body&&h!=t.documentElement&&"visible"!=v.overflow&&(y=s(h)),y&&(o=y,i=g,a=void 0,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,a=Math.max(o.top,i.top),c=Math.min(o.bottom,i.bottom),l=Math.max(o.left,i.left),d=Math.min(o.right,i.right),p=c-a,!(g=(f=d-l)>=0&&p>=0&&{top:a,bottom:c,left:l,right:d,width:f,height:p})))break;h=u(h)}return g}},o.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o9?n=setTimeout(C,t):(t=0,C()))}function R(){var r,o,i,a=g>9?9:1;if(v=Date.now(),p=!1,n=null,f>2||v-t-50a;o++)r=d.shift(),b++,r&&r(E);d.length?_():f=0}function I(e){return y++,d.push(e),_(),y}function A(e){var t=e-1-b;d[t]&&(d[t]=null)}if(c.requestIdleCallback&&c.cancelIdleCallback)try{c.requestIdleCallback((function(){}),{timeout:0})}catch(e){!function(e){var t,n;if(c.requestIdleCallback=function(t,n){return n&&"number"==typeof n.timeout?e(t,n.timeout):e(t)},c.IdleCallbackDeadline&&(t=IdleCallbackDeadline.prototype)){if(!(n=Object.getOwnPropertyDescriptor(t,"timeRemaining"))||!n.configurable||!n.get)return;Object.defineProperty(t,"timeRemaining",{value:function(){return n.get.call(this)},enumerable:!0,configurable:!0})}}(c.requestIdleCallback)}else c.requestIdleCallback=I,c.cancelIdleCallback=A,c.document&&document.addEventListener&&(c.addEventListener("scroll",T,!0),c.addEventListener("resize",T),document.addEventListener("focus",T,!0),document.addEventListener("mouseover",T,!0),["click","keypress","touchstart","mousedown"].forEach((function(e){document.addEventListener(e,T,{capture:!0,passive:!0})})),c.MutationObserver&&new MutationObserver(T).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}));return{request:I,cancel:A}})?r.apply(t,o):r)||(e.exports=i)},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(111);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));var r=n(30),o=n.n(r);const i={protocol:/^https?:\/\//,leadingSlash:/^\//,leadingQS:/^[&?]/,trailingSlashes:/[/]+$/,leadingAmpersand:/^&/},a="http://example.com",s=(e,t,n=!1)=>{if(!t||0===Object.keys(t).length)return e;const r="string"==typeof t?t.replace(i.leadingQS,""):o.a.stringify(t,{arrayFormat:"indices"});if(""===r)return e;const s=i.protocol.test(e);let c;c=s?new URL(e):new URL(e,a);const u=n?r:`${c.search}&${r}`;c.search=u.replace(i.leadingAmpersand,"?");let l=c.toString();return s?l:(l=l.replace(a,""),i.leadingSlash.test(e)?l:l.replace(i.leadingSlash,""))};function c(e,...t){const n=[];return e.forEach((e,r)=>{n.push(e),r{let r=t;return/^(?:\w+:\/\/)?(?:[^/.]+\.)?researchgate\.net(?:\/.*)?$/i.test(r)||(r=`${e}${c`/deref/${r}`}`,n&&(r+="?forcePage=true")),r}},350:function(e,t,n){"use strict";n.r(t);var r=n(5),o=n(139),i=n(146),a=n(140),s=n(141),c=n(142),u=n(143),l=n(126);var d=n(148);var f=n(13);var p=n(40),g=n(39);n(309);const h=e=>{e.hasAttribute("data-src")&&e.setAttribute("src",e.getAttribute("data-src")),e.hasAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset"))},m=e=>{e.style.backgroundSize="contain",e.style.backgroundImage=`url(${e.getAttribute("data-bg")})`},y=e=>[].slice.call(e.querySelectorAll("img[data-src],img[data-srcset],source[data-src],source[data-srcset]")),v=e=>[].slice.call(e.querySelectorAll("[data-bg]")),b=e=>e.pageYOffset||e.document.documentElement.scrollTop||e.document.body.scrollTop,E=e=>[].slice.call(e.querySelectorAll(".js-lazy-load-page")),w=e=>{e.className+=" display-page"};n(310);t.default={interactionListener:new d.c,questionnaireListener:new class{init(){p.a.cleanExpiredBlacklistItems(),this.addListeners()}addListeners(){const e=RGCommons.rgConfig.getTrackingConfigValue(RGCommons.rgConfig.TRACKING_ACTIVE_QUESTIONNAIRE_TRIGGERS);if(e&&e.length>0){const t=p.a.getQuestionnaireBlacklistMap();e.map(e=>{Object(g.b)(e,(e,n,r)=>{Object.keys(t).length>0&&(r[p.b]=Object.keys(t)),n&&(r.context=n);const o=document.querySelector(".js-target-questionnaire");o&&RGRequest.request("lite.LitePageQuestionnaire.html",{method:"GET",query:{trigger:e,metadata:r},headers:{Accept:"text/html"}}).then(e=>{e&&RGDom.content.append(o,e)}).catch(e=>{Object(f.default)(e)})})})}}onQuestionnaireDismiss(e){p.a.addQuestionnaireToBlacklist(e)}},viewportListener:new class{constructor(){this.observers={sticky:{intersection:null,mutation:null},stickyBoundary:{intersection:null,mutation:null},lazyLoadImages:null},this.initOnLoadScrollTo=()=>{if(!("IntersectionObserver"in window))return;const e=document.querySelectorAll(".js-lite-scroll-to-element");if(e.length>0){e.length>1&&console.warn(`OnLoadScrollTo has detected more than 1 hook in the DOM, ${e.length} where found: `,e);const t=e.item(0),n=(t.hasAttribute("x-data-lite")?JSON.parse(t.getAttribute("x-data-lite")):{}).offset||0,r=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,o=document.documentElement.clientTop||document.body.clientTop||0,i=t.getBoundingClientRect().top+r-o-n-10;if(RGCommons.browserDetector.isIEOrEdge())return window.scrollTo(0,i),!0;window.scrollTo({top:i,behavior:"smooth"})}}}init(){this.initImagesObserver(window.document),this.initFullTextPagesObserver(window.document),window.addEventListener("load",()=>{this.initStickyObserver(),this.initOnLoadScrollTo()})}initFullTextPagesObserver(e){if("IntersectionObserver"in window)return this.loadFullTextIntersectionObserver(e);E(e).forEach(w)}initImagesObserver(e){if("IntersectionObserver"in window)return this.loadImagesIntersectionObserver(e);y(e).forEach(h),v(e).forEach(m)}initStickyObserver(){if(!("IntersectionObserver"in window))return;const e=document.querySelectorAll(".js-lite-sticky");if(e.length>0){null==this.observers.sticky.intersection&&(this.observers.sticky.intersection=new IntersectionObserver(e=>{const t=b(window);e.forEach(e=>{(e=>e.target.initialOffsetTop{const t=b(window),n=document.documentElement.clientTop||document.body.clientTop||0;Array.prototype.forEach.call(e,e=>{const r=Math.round(e.getBoundingClientRect().top+t-n);e.initialOffsetTop=r||0})})),this.observers.sticky.mutation.observe(document.documentElement,{attributes:!0,subtree:!0,attributeOldValue:!0});const t=b(window),n=document.documentElement.clientTop||document.body.clientTop||0;Array.prototype.forEach.call(e,e=>{const r=e.querySelector(".js-lite-sticky-target");if(r){const o=Math.round(e.getBoundingClientRect().top+t-n);e.initialOffsetTop=o||0,e.stickyTarget=r,this.observers.sticky.intersection.observe(e)}})}}loadImagesIntersectionObserver(e){const t={rootMargin:"100px",threshold:.01};if(null==this.observers.lazyLoadImages){const e=new IntersectionObserver(t=>{const n=t.filter(e=>e.intersectionRatio>0);n.filter(e=>{return t=e.target,["img","source"].indexOf(t.nodeName.toLowerCase())>-1;var t}).forEach(e=>h(e.target)),n.filter(e=>"div"===e.target.nodeName.toLowerCase()).forEach(e=>m(e.target)),n.forEach(t=>e.unobserve(t.target))},t);this.observers.lazyLoadImages=e}y(e).concat(v(e)).forEach(e=>this.observers.lazyLoadImages.observe(e))}loadFullTextIntersectionObserver(e){const t={rootMargin:"0px 0px 400px 0px",threshold:.01};if(null==this.observers.lazyLoadFullTextPages){const n=[],r=new IntersectionObserver(t=>{t.filter(e=>e.intersectionRatio>0).forEach(t=>{const o=t.target;r.unobserve(o);const i=!!o.hasAttribute("data-lazy-batch")&&o.getAttribute("data-lazy-batch");!1!==i&&-1===n.indexOf(i)&&(((e,t)=>{[].slice.call(e.querySelectorAll(`.js-lazy-load-page[data-lazy-batch="${t}"]`)).forEach(e=>{e.className+=" display-page"})})(e,i),n.push(i))})},t);this.observers.lazyLoadFullTextPages=r}E(e).forEach(e=>this.observers.lazyLoadFullTextPages.observe(e))}},mouseLeaveViewportListener:new class{constructor(){this.eventHandler=e=>{if(0===document.querySelectorAll(".nova-has-modal, .has-overlay").length&&function(e){return e.clientY<=0&&e.clientX{this.listening=!1,document.body.removeEventListener("mouseleave",this.eventHandler),window.removeEventListener("beforeunload",this.unlisten)}}init(){this.listening=!0,document.body.addEventListener("mouseleave",this.eventHandler),window.addEventListener("beforeunload",this.unlisten)}isListening(){return this.listening}},promoManager:new class{init(){const e=Array.from(document.querySelectorAll(".js-lite-promo"));if(0!==e.length)if(this.promos=e,RGCommons.cookie.cookieExists(RGCommons.cookie.COOKIE_RG_USER)){const t=e.map(e=>e.getAttribute("data-promo-id")).filter(Boolean).filter((e,t,n)=>n.indexOf(e)===t);this.fetchPromos(t)}else this.revealPromos()}fetchPromos(e){RGRequest.request("lite.LitePagePromos.html",{method:"GET",query:{promoIds:e},headers:{Accept:"application/json"}}).then(e=>{var t,n;const r=null!==(t=null==e||null===(n=e.result)||void 0===n?void 0:n.data)&&void 0!==t?t:{};this.promos.forEach(e=>{const t=e.getAttribute("data-promo-id");if(r[t]){"append"===e.getAttribute("data-promo-action")?(e.firstElementChild&&window.RGDom.className.addClass(e.firstElementChild,"lite-page-hidden"),RGDom.content.append(e,r[t])):RGDom.content.replace(e,r[t]),RGCommons.interactionListener.initOnElement(e)}}),this.revealPromos()}).catch(e=>{this.revealPromos(),Object(f.default)(e)})}revealPromos(){this.promos.forEach(e=>{window.RGDom.className.removeClass(e,"lite-page-invisible"),window.RGCommons.viewportListener.initImagesObserver(e)})}},parameterFilter:new s.a,monitoring:new a.a,performance:new i.a,featureDetection:new o.a,performedRequests:new c.a,requestToken:u,cookie:l,rgConfig:r,browserDetector:new class{isIEOrEdge(){const e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0}},trackingListener:new class{init(){this.initWayPoints()}track(e){if(!e||!e.hasAttribute("data-track-url"))return;const t=document.createElement("img");document.body.appendChild(t);const n=()=>{window.requestIdleCallback(()=>{t&&t.parentNode&&t.parentNode.removeChild(t)})};t.setAttribute("style","overflow: hidden; height: 0; width: 0; display: block"),t.setAttribute("width",0),t.setAttribute("height",0),t.onload=n,t.onerror=n,t.src=e.getAttribute("data-track-url")}initWayPoints(){if(!("IntersectionObserver"in window))return null;const e=document.querySelectorAll(".rg-wayPoint");if(e.length>0){const t=new IntersectionObserver(e=>{e&&e.length>0&&e.filter(e=>e.intersectionRatio>0).forEach(e=>{this.track(e.target),t.unobserve(e.target)})},{rootMargin:"0px 0px",threshold:0});Array.prototype.forEach.call(e,e=>{e.hasAttribute("data-track-onload")?this.track(e):t.observe(e)})}return!0}}}},351:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"toggleClass",(function(){return a})),n.d(r,"removeClass",(function(){return s})),n.d(r,"addClass",(function(){return c})),n.d(r,"hasClass",(function(){return u}));var o={};n.r(o),n.d(o,"replace",(function(){return l})),n.d(o,"append",(function(){return d}));var i={};function a(e,t){e&&e.classList&&e.classList.toggle(t)}function s(e,t){e&&e.classList&&e.classList.remove(t)}function c(e,t){e&&e.classList&&e.classList.add(t)}function u(e,t){return e&&e.classList&&e.classList.contains(t)}function l(e,t){e&&(e.innerHTML=t)}function d(e,t){e&&(e.innerHTML=e.innerHTML.concat(t))}function f(){[].slice.call(document.querySelectorAll(".lite-page-modal")).forEach(e=>{if(window.RGDom.className.hasClass(e,"lite-page-modal--enable-click-outside")){const t=()=>window.RGDom.className.addClass(e,"lite-page-modal--hidden");e.addEventListener("click",t),document.addEventListener("keyup",e=>["Escape","Esc"].indexOf(e.key)>-1&&t());const n=e.querySelector(".lite-page-modal__close");n&&n.addEventListener("click",t),e.querySelector('[class*="window"]').addEventListener("click",e=>e.stopPropagation())}})}n.r(i),n.d(i,"init",(function(){return f}));t.default={className:r,content:o,modal:i}},37:function(e,t,n){"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var o=0;function i(e){return"__private_"+o+++"_"+e}var a=n(45),s=n.n(a),c=n(13),u=n(64);var l=i("token"),d=i("initialized");class f extends s.a{constructor(...e){super(...e),Object.defineProperty(this,l,{writable:!0,value:null}),Object.defineProperty(this,d,{writable:!0,value:!1})}init(){if(r(this,d)[d])throw new Error("RequestTokenStorage was already initialized.");r(this,d)[d]=!0;{const e=document.getElementById("Rg-Request-Token");if(e&&(r(this,l)[l]=e.content),u.a){try{localStorage.setItem("Rg-Request-Token",r(this,l)[l])}catch(e){Object(c.default)(e)}window.addEventListener("storage",e=>{"Rg-Request-Token"===e.key&&this.set(e.newValue)})}}}set(e){e&&(r(this,l)[l]=e,this.emit("update",e))}get(){if(!r(this,l)[l])throw new Error("Request token was not correctly initialized");return r(this,l)[l]}}t.a=new f},38:function(e,t,n){var r=n(133),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return G})),n.d(t,"b",(function(){return q})),n.d(t,"c",(function(){return B}));var r={};n.r(r),n.d(r,"VIEW_PAGE_HOME_FEED",(function(){return o})),n.d(r,"VIEW_PAGE_PUBLICATION_DETAIL",(function(){return i})),n.d(r,"VIEW_PAGE_PUBLICATION_DOWNLOAD_LANDING",(function(){return a})),n.d(r,"VIEW_PAGE_PUBLICATION_CITATION_DOWNLOAD_LANDING",(function(){return s})),n.d(r,"VIEW_PAGE_POST_DETAIL",(function(){return c})),n.d(r,"VIEW_PAGE_POST_CITATION_DOWNLOAD_LANDING",(function(){return u})),n.d(r,"VIEW_PAGE_PROFILE",(function(){return l})),n.d(r,"VIEW_PAGE_PROFILE_STATS",(function(){return d})),n.d(r,"VIEW_PAGE_PROFILE_READING_LIST",(function(){return f})),n.d(r,"VIEW_PAGE_STATS_REPORT",(function(){return p})),n.d(r,"VIEW_PAGE_FIGURE",(function(){return g})),n.d(r,"VIEW_PAGE_KEYWORD",(function(){return h})),n.d(r,"VIEW_PAGE_SCIENTIFIC_CONTRIBUTION",(function(){return m})),n.d(r,"VIEW_PAGE_JOURNAL",(function(){return y})),n.d(r,"VIEW_PAGE_PROJECT",(function(){return v})),n.d(r,"VIEW_PAGE_INSTITUTION",(function(){return b})),n.d(r,"VIEW_PAGE_LAB",(function(){return E})),n.d(r,"VIEW_PAGE_GRANT",(function(){return w})),n.d(r,"VIEW_PAGE_JOB",(function(){return T})),n.d(r,"VIEW_PAGE_JOBS",(function(){return O})),n.d(r,"VIEW_PAGE_QUESTIONS_TAB",(function(){return C})),n.d(r,"VIEW_PAGE_SEARCH_RESULTS",(function(){return _})),n.d(r,"VIEW_PAGE_REQUESTS",(function(){return R})),n.d(r,"VIEW_PAGE_SURVEY_ADVERT",(function(){return I})),n.d(r,"COMPLETE_FLOW_EXTERNAL_REQUEST_FULLTEXT",(function(){return A})),n.d(r,"COMPLETE_FLOW_SIGNUP_EMAIL_CONFIRMATION",(function(){return S})),n.d(r,"CLICK_BTN_CAMPAIGN_FEEDBACK",(function(){return j})),n.d(r,"CLICK_FOLLOW_QUESTION_BUTTON",(function(){return P})),n.d(r,"CLICK_FOLLOW_PERSON_BUTTON",(function(){return N})),n.d(r,"CLICK_BTN_FUNDING_SUBSCRIBE_GROUP_REQUEST",(function(){return k})),n.d(r,"CLICK_BTN_FUNDING_SUBSCRIBE_WAIVER_REQUEST",(function(){return L})),n.d(r,"CLICK_BTN_PDP_DOWNLOAD",(function(){return x})),n.d(r,"EXIT_PAGE_FUNDING_SUBSCRIBE",(function(){return D}));n(138);const o="view.page.HomeFeed",i="view.page.PublicationDetail",a="view.page.PublicationDownloadLanding",s="view.page.PublicationCitationDownloadLanding",c="view.page.PostDetail",u="view.page.PostCitationDownloadLanding",l="view.page.Profile",d="view.page.ProfileStats",f="view.page.ProfileReadingList",p="view.page.ProfileStatsReport",g="view.page.Figure",h="view.page.Keyword",m="view.page.ScientificContribution",y="view.page.Journal",v="view.page.Project",b="view.page.InstitutionBase",E="view.page.Lab",w="view.page.Grant",T="view.page.Job",O="view.page.Jobs",C="view.page.Topics",_="view.page.SearchResults",R="view.page.Requests",I="view.page.surveyAdvert",A="complete.flow.externalRequestFulltext",S="complete.flow.signupEmailConfirmation",j="click.button.campaignFeedback",P="click.button.followQuestion",N="click.button.followPerson",k="click.button.FundingSubscribeGroupRequest",L="click.button.FundingSubscribeWaiverRequest",x="click.button.publicationDetailsPageDownload",D="exit.page.FundingSubscribe",G=r;function q(e,t,n){{const r="rg."+e;window.addEventListener(r,n=>{if(r!==n.type)return;const{context:o,metadata:i}=n.detail||{};t(e,o,i)},n)}}function B(e,t,n){{let r;e="rg."+e,"function"!=typeof window.CustomEvent?(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!1,!1,{detail:t,metadata:n})):r=new CustomEvent(e,{detail:{context:t,metadata:n}}),window.dispatchEvent(r)}}},40:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var r=n(64);const o="alert-stack",i="modal",a="detail-page",s="bl",c={now:new Date,addQuestionnaireToBlacklist(e){const t=JSON.parse(window.localStorage.getItem("questionnaire:blacklist"))||{};t[e]={dismissedAt:new Date},window.localStorage.setItem("questionnaire:blacklist",JSON.stringify(t))},removeQuestionnaireFromBlacklist(e){const t=JSON.parse(window.localStorage.getItem("questionnaire:blacklist"))||{};delete t[e],window.localStorage.setItem("questionnaire:blacklist",JSON.stringify(t))},getQuestionnaireBlacklistMap(){if(!r.a)return{};const e=JSON.parse(window.localStorage.getItem("questionnaire:blacklist"))||{};return Object.keys(e).map(t=>e[t]).forEach(e=>{e.dismissedAt=new Date(e.dismissedAt)}),e},isExpiredInBlacklist(e){const t=this.getQuestionnaireBlacklistMap()[e];return!(!t||!t.dismissedAt)&&this.now-t.dismissedAt>48384e5},cleanExpiredBlacklistItems(){const e=this.getQuestionnaireBlacklistMap();Object.keys(e).reduce((t,n)=>(t.push([n,e[n]]),t),[]).forEach(([e])=>{this.isExpiredInBlacklist(e)&&this.removeQuestionnaireFromBlacklist(e)})}}},41:function(e,t,n){"use strict";const r=Object.prototype.hasOwnProperty;t.a=(e,t)=>r.call(e,t)},45:function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&y(e,"error",t,n)}(e,o,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,s;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function g(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=m(c,u);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return g(this,e,!0)},s.prototype.rawListeners=function(e){return g(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},49:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},5:function(e,t,n){"use strict";n.r(t),n.d(t,"REQUEST_BACKEND_TIME",(function(){return r})),n.d(t,"REQUEST_CORRELATION_ID",(function(){return o})),n.d(t,"REQUEST_IS_CACHED_PAGE",(function(){return i})),n.d(t,"REQUEST_IS_LOGGED_IN",(function(){return a})),n.d(t,"PAGE_MODULE",(function(){return s})),n.d(t,"PAGE_ACTION",(function(){return c})),n.d(t,"PAGE_LONG_RUNNING_REQUEST_IDENTIFIER",(function(){return u})),n.d(t,"PAGE_LONG_RUNNING_REQUEST_FP",(function(){return l})),n.d(t,"PAGE_YUI_DISABLED",(function(){return d})),n.d(t,"PAGE_PLATFORM_FEATURES",(function(){return f})),n.d(t,"PAGE_APPLICATION_VERSION_TAG",(function(){return p})),n.d(t,"TRACKING_CONTINENT",(function(){return g})),n.d(t,"TRACKING_COUNTRY_CODE",(function(){return h})),n.d(t,"TRACKING_FLAG",(function(){return m})),n.d(t,"TRACKING_ACTIVE_QUESTIONNAIRE_TRIGGERS",(function(){return y})),n.d(t,"TRACKING_IS_CRAWLER",(function(){return v})),n.d(t,"TRACKING_IS_MOBILE",(function(){return b})),n.d(t,"TRACKING_LOG_EXTENDED_REQUEST",(function(){return E})),n.d(t,"TRACKING_LOG_TIME_TO_FIRST_AD",(function(){return w})),n.d(t,"TRACKING_FINGERPRINT",(function(){return T})),n.d(t,"getPageConfigValue",(function(){return R})),n.d(t,"getTrackingConfigValue",(function(){return I})),n.d(t,"getRequestConfigValue",(function(){return A})),n.d(t,"trackingConfigExists",(function(){return S})),n.d(t,"pageConfigExists",(function(){return j})),n.d(t,"requestConfigExists",(function(){return P}));const r="backendTime",o="correlationId",i="isCachedPage",a="isLoggedIn",s="module",c="action",u="longRunningRequestIdentifier",l="longRunningRequestFp",d="yuiDisabled",f="platformFeatures",p="applicationVersionTag",g="continent",h="countryCode",m="flag",y="activeQuestionnaireTriggers",v="isCrawler",b="isMobile",E="logExtendedRequest",w="logTimeToFirstAd",T="fingerprint";function O(e){return void 0!==window.rgConfig||void 0!==window[e]}function C(e,t){return void 0!==window[e]&&void 0!==window[e][t]}function _(e,t){return C("rgConfig",t)?window.rgConfig[t]:C(e,t)?window[e][t]:null}function R(e){return _("pageConfig",e)}function I(e){return C("requestCachedConfig",e)?_("requestCachedConfig",e):_("trackingConfig",e)}function A(e,t){return t=t||!1,C("rgConfig",e)?window.rgConfig[e]:!t&&C("requestCachedConfig",e)?window.requestCachedConfig[e]:C("requestConfig",e)?window.requestConfig[e]:null}function S(){return O("requestCachedConfig")&&C("requestCachedConfig",T)||O("trackingConfig")}function j(){return O("pageConfig")}function P(){return O("requestConfig")}},50:function(e,t){var n=Array.isArray;e.exports=n},502:function(e,t){function n(e){return void 0===e}function r(e){return e===Object(e)}function o(e){return Array.isArray(e)}function i(e,t){return t?r(e)&&!n(e.uri):r(e)&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice}function a(e){return!n(e)&&e}e.exports={serialize:function e(t,s,c,u){s=s||{},c=c||new FormData,s.indices=a(s.indices),s.nullsAsUndefineds=a(s.nullsAsUndefineds),s.booleansAsIntegers=a(s.booleansAsIntegers),s.allowEmptyArrays=a(s.allowEmptyArrays),s.noFilesWithArrayNotation=a(s.noFilesWithArrayNotation),s.dotsForObjectNotation=a(s.dotsForObjectNotation);const l="function"==typeof c.getParts;return n(t)||(null===t?s.nullsAsUndefineds||c.append(u,""):!function(e){return"boolean"==typeof e}(t)?o(t)?t.length?t.forEach((t,n)=>{let o=u+"["+(s.indices?n:"")+"]";s.noFilesWithArrayNotation&&function(e,t){return i(e,t)&&"string"==typeof e.name&&(r(e.lastModifiedDate)||"number"==typeof e.lastModified)}(t,l)&&(o=u),e(t,s,c,o)}):s.allowEmptyArrays&&c.append(u+"[]",""):!function(e){return e instanceof Date}(t)?r(t)&&!i(t,l)?Object.keys(t).forEach(n=>{const r=t[n];if(o(r))for(;n.length>2&&n.lastIndexOf("[]")===n.length-2;)n=n.substring(0,n.length-2);const i=u?s.dotsForObjectNotation?u+"."+n:u+"["+n+"]":n;e(r,s,c,i)}):c.append(u,t):c.append(u,t.toISOString()):s.booleansAsIntegers?c.append(u,t?1:0):c.append(u,t)),c}}},503:function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(551)],void 0===(i="function"==typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval",""].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},52:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},551:function(e,t,n){var r,o,i;!function(n,a){"use strict";o=[],void 0===(i="function"==typeof(r=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function t(e){return function(){return this[e]}}var n=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],o=["fileName","functionName","source"],i=n.concat(r,o,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"";r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),o(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(function(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error));t.a=i},71:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(144),o=n.n(r);function i(e){const t=JSON.stringify(e),n=(new TextEncoder).encode(t);return o.a.fromByteArray(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"f",(function(){return T})),n.d(t,"b",(function(){return C})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return R})),n.d(t,"c",(function(){return I}));var r=n(0),o=n(28),i=n.n(o),a=n(30),s=n.n(a),c=n(35);var u=n(70);class l extends u.a{constructor(e){super(e),this.isRequestError=!0}shouldSendToKibana(){return!0}}class d extends l{constructor(e,t){super("Bad response from server "+t),this.statusCode=e,this.correlationId=t}getMessageForUser(){return"Unexpected error occurred."}shouldSendToKibana(){return!1}}class f extends l{constructor(e){super("PHP Request returned errors"),this.errors=e}getMessageForUser(){const e=Array.isArray(this.errors)?this.errors:Object.values(this.errors);return 0===e.length?"Unexpected error occurred. Operation could not be completed.":Array.isArray(e[0])?e[0][0]:"string"==typeof e[0]?e[0]:"Unexpected error occurred. Operation could not be completed."}shouldSendToKibana(){return!1}}class p extends l{constructor(e="Request cancelled in Safari"){super(e)}shouldSendToKibana(){return!1}}class g extends l{constructor(...e){super(...e),this.name="UnexpectedContentTypeError"}}var h=n(71),m=n(37),y=n(112);let v=0;const b=new Map;function E(e={}){var t;const n=(null===(t=window.pageConfig)||void 0===t?void 0:t.trackingPayload)&&0!==Object.keys(window.pageConfig.trackingPayload).length&&{"x-tracking-payload":Object(h.a)(window.pageConfig.trackingPayload)},o={method:"GET",headers:Object(r.a)({"Rg-Request-Token":m.a.get(),"X-Requested-With":"XMLHttpRequest",Accept:"application/json"},n),credentials:"same-origin"},i=Object(r.a)(Object(r.a)(Object(r.a)({},o),e),{},{headers:Object(r.a)(Object(r.a)({},o.headers),e.headers)});var a;return!i.headers["Content-Type"]&&["POST","PUT","DELETE","PATCH"].indexOf(i.method.toUpperCase())>-1&&(null===i.headers["Content-Type"]?delete i.headers["Content-Type"]:i.body instanceof FormData||(i.headers["Content-Type"]="application/json")),null==(a=i.body)||"object"!=typeof a||a instanceof FormData||(i.body=function(e,t){return"application/json"===t?JSON.stringify(e):s.a.stringify(e)}(i.body,i.headers["Content-Type"])),delete i.query,i}function w(e,t){const n=Date.now(),o=function(e,t){const n=Object(r.a)(Object(r.a)({},t),{},{headers:Object(r.a)({},t.headers)});return delete n.headers["Rg-Request-Token"],`${e}__${JSON.stringify(n)}`}(e,t);if(b.has(o))return b.get(o);RGCommons.activeAjaxRequests++;const i=fetch(e,t).then(i=>{const a=Date.now();b.delete(o),RGCommons.performedRequests.log(e,t.method,i,i.status<400,parseInt(a-n,10)),i.headers.has("cf-mitigated")&&"challenge"===i.headers.get("cf-mitigated")&&window.location.reload();const s=i.headers.get("x-correlation-id");if(i.status>=400)throw new d(i.status,s);if(i.headers.has("x-rg-request-token")&&m.a.set(i.headers.get("x-rg-request-token")),204!==i.status){if("arraybuffer"===t.forcedResponseType)return i.arrayBuffer();if("blob"===t.forcedResponseType)return i.blob();if(i.headers.has("Content-Type")){const n=i.headers.get("Content-Type");if(!n.startsWith(t.headers.Accept))return i.text().then(r=>{throw new g(`Received content of type ${n}, expected type to be ${t.headers.Accept}. URI: ${e}, text data: ${r}`)});if(n.startsWith("application/json"))return i.json().then(e=>Object(r.a)(Object(r.a)({},e),{},{correlationId:s}));if(n.startsWith("text/"))return i.text()}}return null}).then(n=>{if(null===n)return null;if("string"==typeof n)return n;if(n instanceof ArrayBuffer)return n;if(n instanceof Blob)return n;if(n.requestToken&&m.a.set(n.requestToken),n.errors&&"csrf-retry"===n.errors[0]&&v<5)return v++,w(e,t);if(!n.success){const e=new f(n.errors);return n.result.redirect&&(e.isRedirect=!0,Object(y.a)(n.result.redirect)),Promise.reject(e)}return RGCommons.activeAjaxRequests--,v=0,n}).catch(e=>(b.delete(o),RGCommons.activeAjaxRequests--,function(e){return function(){const e=navigator.userAgent;return e.includes("Safari")&&!e.includes("Chrome")}()&&e instanceof TypeError&&!Object.prototype.hasOwnProperty.call(e,"stack")}(e)?Promise.reject(new p):Promise.reject(e)));return b.set(o,i),i}function T(e,t){return i()(/\/beacon\//.test(e),"sendBeacon calls have to be directed to %s so that CSRF checks are handled properly. Check the provided URL: %s","/beacon/",e),navigator.sendBeacon(e,t)}function O(e,t={}){return w(e=Object(c.b)(e,t.query),t=E(t))}function C(e,t,n={}){return O(e,Object(r.a)(Object(r.a)({},n),{},{method:"GET",query:t}))}function _(e,t,n={}){return O(e,Object(r.a)(Object(r.a)({},n),{},{method:"POST",body:t}))}function R(e,t,n={}){return O(e,Object(r.a)(Object(r.a)({},n),{},{method:"PUT",body:t}))}function I(e,t,n={}){return O(e,Object(r.a)(Object(r.a)({},n),{},{method:"PATCH",body:t}))}},75:function(e,t,n){var r=n(38).Symbol;e.exports=r},91:function(e,t,n){var r=n(108),o=n(118);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},92:function(e,t,n){"use strict";function r(e){return null==e||"function"!=typeof e&&"object"!=typeof e||!e.default?e:e.default}n.r(t),n.d(t,"default",(function(){return r}))},93:function(e,t,n){var r=n(166);e.exports=function(e){return null==e?"":r(e)}},94:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},95:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n